package state;

/**
 * @author wcj
 * @Date 2021/6/30 22:33
 * @Version 1.0
 */
public class Client {

    public static void main(String[] args) {
        Work work = new Work();

        work.setHour(11D);
        work.writeProgram();
        work.setHour(13D);
        work.writeProgram();
        work.setHour(18D);
        work.writeProgram();
        work.setHour(20D);
        work.writeProgram();
        work.setHour(22D);
        work.setWorkFinished(false);
        work.writeProgram();
    }
}
